﻿using System.ComponentModel.DataAnnotations;

namespace WH.Contracts.Systems.Login
{
    public class ForgetPasswordResetInputDto
    {
        [Required(ErrorMessage = "用户账号不能为空")]
        public string UserAccount { get; set; } = null!;

        [Required(ErrorMessage = "科室编号不能为空")]
        public string DeptCode { get; set; } = null!;

        [Required(ErrorMessage = "用户工号不能为空")]
        public string UserCode { get; set; } = null!;

        [Required(ErrorMessage = "新密码不能为空")]
        [MaxLength(50, ErrorMessage = "密码最大长度为50")]
        public string Password { get; set; } = null!;
    }
}
